package consts

import (
	"choujiang/common/utils"
	"net/http"
)

var (
	ErrInvalidParams            = utils.NewError(http.StatusOK, 10000, "参数错误")
	ErrGameNotFound             = utils.NewError(http.StatusOK, 10001, "游戏未找到")
	ErrEntryNotFound            = utils.NewError(http.StatusOK, 10002, "登录入口不存在")
	ErrUnionIdNotFound          = utils.NewError(http.StatusOK, 10003, "unionId不存在")
	ErrSign                     = utils.NewError(http.StatusOK, 10004, "签名错误")
	ErrUserNotFound             = utils.NewError(http.StatusOK, 10005, "用户未找到")
	ErrMiniOriData              = utils.NewError(http.StatusOK, 10006, "小程序原始用户信息错误")
	ErrMiniOriDataAppIdNotMatch = utils.NewError(http.StatusOK, 10007, "小程序原始用户信息appid不匹配")
	ErrOrderNotFound            = utils.NewError(http.StatusOK, 10008, "订单不存在")
	ErrOrderAlreadyPay          = utils.NewError(http.StatusOK, 10009, "订单已经支付")
	ErrMiniVerifyCode           = utils.NewError(http.StatusOK, 10010, "小游戏验证码不存在")
	ErrInterval                 = utils.NewError(http.StatusOK, 10011, "未知错误")
	ErrTimeFormInvalid          = utils.NewError(http.StatusOK, 10012, "时间格式不正确")
	ErrShareStatReportNotFound  = utils.NewError(http.StatusOK, 10013, "无法获取分享统计报告")
	ErrServiceNotSupported      = utils.NewError(http.StatusOK, 10014, "H5报告数据格式有误")
	ErrLoginCodeInvalid         = utils.NewError(http.StatusOK, 10015, "Code有误")
	ErrGoodsNotFound            = utils.NewError(http.StatusOK, 10016, "商品未找到")
	ErrBalanceNotEnough         = utils.NewError(http.StatusOK, 10017, "龙币不足")
	ErrGoodsNotEnough           = utils.NewError(http.StatusOK, 10018, "商品库存不足")
	ErrUserAddressEmpty         = utils.NewError(http.StatusOK, 10019, "用户地址缺失")
	ErrUserAddressNotEnough     = utils.NewError(http.StatusOK, 10020, "地址参数缺失")
	ErrInvalidPhone             = utils.NewError(http.StatusOK, 10021, "电话格式错误")
	ErrAlreadySignUp            = utils.NewError(http.StatusOK, 10022, "今日已签到")
	ErrInvalidShareToken        = utils.NewError(http.StatusOK, 10023, "分享凭证错误")
	ErrShareTaskAlreadyDone     = utils.NewError(http.StatusOK, 10024, "分享任务已完成")
	ErrShareSameGroup           = utils.NewError(http.StatusOK, 10025, "分享相同的群无法完成任务")
	ErrNoFootprint              = utils.NewError(http.StatusOK, 10026, "暂无浏览记录")
	ErrNotEnoughPoint           = utils.NewError(http.StatusOK, 10027, "金币余额不足")
	ErrInvalidScene             = utils.NewError(http.StatusOK, 10028, "scene错误")
	ErrChannelNotExist          = utils.NewError(http.StatusOK, 10029, "渠道不存在")
	ErrUserAlreadyBindChannel   = utils.NewError(http.StatusOK, 10030, "用户已经绑定过渠道了")
	ErrUserUpadteFail           = utils.NewError(http.StatusOK, 10031, "用户信息更新失败")
	ErrUpdateEntryFail          = utils.NewError(http.StatusOK, 10032, "更新盒子配置信息失败")
	ErrUndefinedEntry           = utils.NewError(http.StatusOK, 10033, "获取盒子配置信息失败")
	ErrInvalidSdkToken          = utils.NewError(http.StatusOK, 10034, "无效的SDK验证码")
	ErrInvalidSdkUser           = utils.NewError(http.StatusOK, 10035, "无效的SDK回传用户")
	ErrInvalidGameId            = utils.NewError(http.StatusOK, 10036, "无效的game_id记录")
	ErrUnPayGame                = utils.NewError(http.StatusOK, 10037, "还未购买的游戏")
	ErrUndefinedNews            = utils.NewError(http.StatusOK, 10038, "找不到咨询信息")
	ErrUnifiedOrderFail         = utils.NewError(http.StatusOK, 10039, "调取统一下单接口失败")
	ErrGameBalanceFail          = utils.NewError(http.StatusOK, 10040, "游戏价格错误")
	ErrNotFoundPoster           = utils.NewError(http.StatusOK, 10041, "找不到海报信息")
	ErrCouponFinished           = utils.NewError(http.StatusOK, 10042, "抽奖已结束")
	ErrCouponNumberIncorrect    = utils.NewError(http.StatusOK, 10043, "奖券数量错误")
	ErrUndefinedAgent           = utils.NewError(http.StatusOK, 10044, "找不到代理信息")
	ErrFishInitFail             = utils.NewError(http.StatusOK, 10045, "创建鱼失败")
	ErrFishNotUnlock            = utils.NewError(http.StatusOK, 10046, "此鱼还未解锁")
	ErrGetFishListFail          = utils.NewError(http.StatusOK, 10047, "获取龙鱼列表失败")
	ErrGetCurFishFail           = utils.NewError(http.StatusOK, 10048, "获取当前养殖的龙鱼信息失败")
	ErrTankIsFull               = utils.NewError(http.StatusOK, 10049, "鱼缸已满无法养殖")
	ErrFishNumberNotEnough      = utils.NewError(http.StatusOK, 10050, "科技树等级不足无法放入鱼缸")
	ErrSaveCoinsFail            = utils.NewError(http.StatusOK, 10051, "保存金币失败")
	ErrUndefinedFeed            = utils.NewError(http.StatusOK, 10052, "鱼食信息不存在")
	ErrCanNotFindFish           = utils.NewError(http.StatusOK, 10053, "找不到龙鱼信息")
	ErrLevelReachedLimit        = utils.NewError(http.StatusOK, 10054, "龙鱼等级已达上限")
	ErrNotEnoughFeed            = utils.NewError(http.StatusOK, 10055, "鱼食数量不足")
	ErrUndefinedUserTech        = utils.NewError(http.StatusOK, 10056, "找不到科技信息")
	ErrTechReachedLimit         = utils.NewError(http.StatusOK, 10057, "科技等级已达上限")
	ErrFishUnReachedLimit       = utils.NewError(http.StatusOK, 10058, "龙鱼未到满级")
	ErrFishAlreadyInTank        = utils.NewError(http.StatusOK, 10059, "龙鱼已经在鱼缸中了")
	ErrFishFarmFull             = utils.NewError(http.StatusOK, 10060, "当前渔场内已有龙鱼，无法再次创建")
	ErrFarmIsEmpty              = utils.NewError(http.StatusOK, 10061, "当前渔场内无龙鱼信息")
	ErrIncorrectFishUnique      = utils.NewError(http.StatusOK, 10062, "龙鱼ID不匹配")
	ErrFishNotInTank            = utils.NewError(http.StatusOK, 10063, "龙鱼不在鱼缸内")
	ErrFishCanNotSale           = utils.NewError(http.StatusOK, 10064, "龙鱼等级不足，无法出售")
	ErrUnixTimeWrong            = utils.NewError(http.StatusOK, 10065, "当前时间错误")
	ErrNotEnoughLottery         = utils.NewError(http.StatusOK, 10066, "抽奖次数不足")
	ErrUndefinedUserTask        = utils.NewError(http.StatusOK, 10067, "无用户任务信息")
	ErrUndefinedTask            = utils.NewError(http.StatusOK, 10068, "此任务不存在")
	ErrUnFinishTask             = utils.NewError(http.StatusOK, 10069, "任务未完成")
	ErrAlreadyReceive           = utils.NewError(http.StatusOK, 10070, "奖励已领取")
	ErrInvalidFeed              = utils.NewError(http.StatusOK, 10071, "此鱼食已无法提供经验")
	ErrUndefinedTicket          = utils.NewError(http.StatusOK, 10072, "奖券码不存在")
	ErrRewardUserError          = utils.NewError(http.StatusOK, 10073, "领奖用户错误")
	ErrUndefinedInviteQueue     = utils.NewError(http.StatusOK, 10074, "无邀请记录")
	ErrUndefinedProp            = utils.NewError(http.StatusOK, 10075, "无道具信息")
	ErrUndefinedUserTank        = utils.NewError(http.StatusOK, 10076, "无鱼缸信息")
	ErrAttackBeBlocked          = utils.NewError(http.StatusOK, 10077, "攻击被防护了")
	ErrPropNumReachedLimit      = utils.NewError(http.StatusOK, 10078, "该道具的使用次数已达上限")
	ErrTankAlreadyClean         = utils.NewError(http.StatusOK, 10079, "鱼缸已经干净了")
	ErrDiamondNotEnough         = utils.NewError(http.StatusOK, 10080, "龙珠不足")
	ErrUncorrectBalance         = utils.NewError(http.StatusOK, 10081, "货币类型错误")
	ErrPropNumError             = utils.NewError(http.StatusOK, 10082, "道具数量错误")
	ErrFragmentNotEnough        = utils.NewError(http.StatusOK, 10083, "碎片数量不足")
	ErrPropCanNotCompound       = utils.NewError(http.StatusOK, 10084, "道具不能合成")
	ErrCanNotInitFish           = utils.NewError(http.StatusOK, 10085, "不能养殖此龙鱼")
	ErrUndefinedFishQuality     = utils.NewError(http.StatusOK, 10086, "未知的龙鱼品质")
	ErrFishTotalNotEnough       = utils.NewError(http.StatusOK, 10087, "养殖数量不足4条无法开启出售")
	ErrUndefinedAttackUser      = utils.NewError(http.StatusOK, 10088, "被攻击用户不存在")
	ErrUndefinedAttackTank      = utils.NewError(http.StatusOK, 10089, "被攻击鱼缸不存在")
	ErrMinimumDiamond           = utils.NewError(http.StatusOK, 10090, "钻石太少了无法偷取")
	ErrTankNotUnlock            = utils.NewError(http.StatusOK, 10091, "鱼缸还未解锁")
	ErrTankAlreadyFull          = utils.NewError(http.StatusOK, 10092, "鱼缸已满")
	ErrCanNotSaleAbnormalFish   = utils.NewError(http.StatusOK, 10093, "不能出售处于异常状态的龙鱼")
	ErrAttackReachedLimit       = utils.NewError(http.StatusOK, 10094, "鱼缸内的垃圾太多了，请换个人吧")
	ErrTodayAlreadyReceive      = utils.NewError(http.StatusOK, 10095, "今天已经领取过在线奖励了")
	ErrNotActivity              = utils.NewError(http.StatusOK, 10096, "暂无冲榜活动")
	ErrActiveLimit              = utils.NewError(http.StatusOK, 10097, "还未开始领奖")
	ErrNotJoinActive            = utils.NewError(http.StatusOK, 10098, "未参与过活动")
	ErrLuckyNotEnough           = utils.NewError(http.StatusOK, 10099, "用户幸运值不足")
	ErrCanNotFindOpponent       = utils.NewError(http.StatusOK, 100100, "找不到与您匹配的对手")
	ErrSignInNotEnough          = utils.NewError(http.StatusOK, 100101, "签到天数不足")
	ErrSignInAlreadyTake        = utils.NewError(http.StatusOK, 100102, "奖励已领取")
	ErrStealReachedLimit        = utils.NewError(http.StatusOK, 100103, "您偷取同一人太多次了")
	ErrNotExchangeReward        = utils.NewError(http.StatusOK, 100104, "暂无兑换奖励")
	ErrPropNotExists            = utils.NewError(http.StatusOK, 100105, "道具不存在")
	ErrHonorNotEnough           = utils.NewError(http.StatusOK, 100106, "荣誉积分不足")
	ErrSaleMinimum              = utils.NewError(http.StatusOK, 100107, "出售后龙鱼数量不能少于3条")
	ErrAlreadyWorship           = utils.NewError(http.StatusOK, 100108, "您今天已经膜拜过此玩家了")
)

const (
	CodeExtTpBind = "mpbinding"

	TimeForm = "2006-01-02"
)
